home *** CD-ROM | disk | FTP | other *** search
/ CU Amiga Super CD-ROM 15 / CU Amiga Magazine's Super CD-ROM 15 (1997)(EMAP Images)(GB)[!][issue 1997-10].iso / CUCD / Graphics / Ghostscript / man / gs501src_gs.readme < prev    next >
Encoding:
Text File  |  1997-07-13  |  2.5 KB  |  63 lines

  1. Short:    Ghostscript5.01 original sources
  2. Author:   GS(Aladdin)/Amiga(Olaf Barthel)/Port(me)
  3. Uploader: Joop.vandeWege@Medew.ENTO.WAU.NL
  4. Type:     gfx/show
  5.  
  6. This is the original Ghostscript source archive in lha format instead
  7. of tar.gz. You'll need the following two archives to be able to recompile
  8. GS:
  9. gs501src_amiga.lha
  10. gs501src_jpg6a.lha
  11.  
  12. Comments/Suggestions/Bugs to:
  13. JoopvandeWege@mail.mococo.nl
  14. Please use a Subject field with the name 'GS501' in it.
  15. Please direct all mail to me except when you're 100% sure it is a GS
  16. problem then you can use the Aladdin email address.
  17.  
  18. Joop van de Wege
  19.  
  20.  
  21. Recompiling GS:
  22. Steps needed to be done to recompile GS from scratch using GCC2.63/2.70:
  23. Get gs501src_gs.lha
  24. Get gs501src_amiga.lha
  25. Get gs501src_jpg6a.lha
  26. Get gs501src_zlib.lha
  27. Get gs501src_png.lha
  28.  
  29. Unpack gs501src to HD, a directory 'gs5.01' will be created.
  30. Unpack to the same HD (files will also be placed into 'gs5.01':
  31. - gs501amiga.lha, overwriting some files. This is OK
  32.   gs501amiga.lha contains:
  33.   - gdevamiga.c, the amiga device driver from Olaf Barthel
  34.   - gdevpipe.c, patched for use with Libnix
  35.   - gp_amiga.c, platform dependant stuff for the Amiga
  36.   - Configure.in/Makefile.in to rebuild Makefile and be able
  37.     to separate source and build directory.
  38.     (now includes 'makefile.libnix' for those without configure)
  39. - gs501src_jpg6a which creates the 'jpeg-6' directory
  40. - gs501src_zlib which creates the 'zlib' directory
  41. - gs501src_png which creates the 'libpng' directory
  42. - edit gcc-head.mak.in, the lines DEVICES_DEVSx= .....
  43.   (add/remove devices to your desire), save!
  44. - cd to your build directory (cd work:build/gs)
  45. - sh work:source/gs5.01/configure --prefix=Ghostscript:
  46.   (configure tests your configuration, generates Makefile)
  47. - make (or use the supplied 'build_gs' script,overrides some settings)
  48. - make install
  49.  
  50. The last two archives are not needed when you don't intend to rebuild GS
  51. with PNG support.
  52.  
  53. If you haven't forgotten to set the stack to a reasonable amount (~50K),
  54. you can sit back and have a cup of coffee. On my A3000 it takes about 2.5h
  55. (1-1.5h when using PowerCache) to compile with the current device driver
  56. set and the file 'gdevamiga.c' needs about 7-8Mb when -O2 is on. It needs
  57. less if you don't optimize :)
  58. Make itself takes another 2Mb so in case of problems just compile
  59. gdevamiga.c on its own and let make resume after that. GCC2.7.2.1 (?) (Aminet)
  60. works with VMM3.3 (on Aminet too).
  61.  
  62. Better yet get the latest gcc compiler from ftp.ninemoons.com/pub/geekgadgets!
  63.